//
//  DestinTableViewCell.m
//  LvXingPai
//
//  Created by _Junxee on 16/8/9.
//  Copyright © 2016年 _Junxee. All rights reserved.
//

#import "DestinTableViewCell.h"

@implementation DestinTableViewCell

- (void)awakeFromNib {

    //显示数字白色框
    self.shuziView.layer.borderColor = [[UIColor whiteColor] CGColor];
    self.shuziView.layer.borderWidth = 1.0;
}

//下面这两个方法都是为了避免点击Cell之后 里面的透明View和白线消失
-(void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated {
    [super setHighlighted:highlighted animated:animated];
    
    self.UpWhiteLine.backgroundColor = [UIColor whiteColor];
    self.DownWhiteLine.backgroundColor = [UIColor whiteColor];
    self.TouMingView.backgroundColor = [UIColor colorWithRed:255.0 green:255.0 blue:255.0 alpha:0.1];
}

-(void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    self.UpWhiteLine.backgroundColor = [UIColor whiteColor];
    self.DownWhiteLine.backgroundColor = [UIColor whiteColor];
    self.TouMingView.backgroundColor = [UIColor colorWithRed:255.0 green:255.0 blue:255.0 alpha:0.1];
}



@end
